h1 #{@article.title}

p #{@article.content}

table
  tr
    th Date
    th Action

  - @article.modifications.each do |modification|
    tr
      td #{modification.created_at}
      td 
        = link_to 'view', edit_article_path(@article, modification_id: modification.id)

= link_to 'edit', edit_article_path(@article)

= link_to 'delete', @article, method: :delete, data: { confirm:  "are you sure?" }

= link_to 'back', articles_path